package com.lc.question.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import java.util.Map;

@ApiModel("问卷结果实体类")
public class Result {

    @ApiModelProperty("问卷表标题")
    String tab_title;
    @ApiModelProperty("问卷表内容")
    String tab_content;
    @ApiModelProperty("问卷表的问题")
    List<Question> questions;
    @ApiModelProperty("问题对应的答案")
    Map<String,Map<String,Integer>> question_results;

    public Result(String tab_title, String tab_content, List<Question> questions,  Map<String,Map<String,Integer>> question_results) {
        this.tab_title = tab_title;
        this.tab_content = tab_content;
        this.questions = questions;
        this.question_results = question_results;
    }

    public String getTab_title() {
        return tab_title;
    }

    public void setTab_title(String tab_title) {
        this.tab_title = tab_title;
    }

    public String getTab_content() {
        return tab_content;
    }

    public void setTab_content(String tab_content) {
        this.tab_content = tab_content;
    }

    public List<Question>  getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }

    public  Map<String,Map<String,Integer>> getQuestion_results() {
        return question_results;
    }

    public void setQuestion_results( Map<String,Map<String,Integer>> question_results) {
        this.question_results = question_results;
    }
}
